//------------------------------------------------------------------------------
#ifndef APPLICATION_H
#define APPLICATION_H
//------------------------------------------------------------------------------
#include <QApplication>
//------------------------------------------------------------------------------
#define App							Application::getInstance()
#define APPLICATION_VERSION	"0.1"
//------------------------------------------------------------------------------
class Application : public QApplication {
	Q_OBJECT

	public:
		static void create(int& argc, char* argv[]);
		static void destroy();
		static Application& getInstance(){ return *m_instance; }

	private:
		explicit Application(int& argc, char* argv[]);

	private:
		static Application *m_instance;
		
};
//------------------------------------------------------------------------------
#endif // APPLICATION_H
//------------------------------------------------------------------------------
